package com.jdrx.ocp.beans.constans;

/**
 * 事件类型
 */
public enum EventEnum {
    LOGOUT("系统登出", "logout"),
    USER("用户变更", "user"),
    ROLE("角色变更", "role"),
    RESOURCE("资源修改","resource"),
    DEPT("机构变更", "dept");


    private String name;
    private String evt;

    EventEnum(String name, String evt) {
        this.name = name;
        this.evt = evt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEvt() {
        return evt;
    }

    public void setEvt(String evt) {
        this.evt = evt;
    }
}
